;
; Events text for Discworld Scenario
; by Cyrion and friends
;
;


@BEGINEVENTS

@IF
NOSCHISM
DEFENDER=Anybody
@THEN
@ENDIF

;***********************************
@IF
NEGOTIATION
talker=anybody
talkertype=HumanOrComputer
listener=Independents
listenertype=HumanOrComputer 
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Independents
talkertype=HumanOrComputer 
listener=anybody
listenertype=HumanOrComputer 
@THEN
@ENDIF

@IF
NEGOTIATION
talker=anybody
talkertype=HumanOrComputer
listener=Dungeon Dim.
listenertype=HumanOrComputer 
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Dungeon Dim.
talkertype=HumanOrComputer 
listener=anybody
listenertype=HumanOrComputer 
@THEN
@ENDIF

;**************************************************************
@IF
TURN
turn=5 
@THEN
TEXT
A food shortage threatens the huge city of Ankh-Morpork: food caravans from other towns are needed to sustain its swarming population...
ENDTEXT
@ENDIF

;**************************************************************
@IF
CITYTAKEN
city=Ephebe
attacker=Anybody
defender=Anybody
@THEN
TEXT
Ephebe, home of the Philosophers, has fallen, despite its inextricable Labyrinth...
ENDTEXT
@ENDIF

;*********************Golem************************
@IF
RECEIVEDTECHNOLOGY
technology=64
receiver=ANYBODY
@THEN
TEXT
Learning that the golems are now given the same rights in your nation that all the other races, 2 of them come to help you build a better place for all species.
ENDTEXT
CREATEUNIT
unit=Golem
owner=TRIGGERRECEIVER
veteran=yes
homecity=none
locations
59,71 ;************* Les 5 capitales: ne pourra apparaitre que dans la bonne
48,10
106,18
52,108
73,99
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=64
receiver=ANYBODY
@THEN
CREATEUNIT
unit=Golem
owner=TRIGGERRECEIVER
veteran=yes
homecity=NONE
locations
59,71 ;************* Les 5 capitales: ne pourra apparaitre que dans la bonne
48,10
106,18
52,108
73,99
endlocations
JUSTONCE
@ENDIF

;*********************The Boat ************************
@IF
RECEIVEDTECHNOLOGY
technology=32
receiver=ANYBODY
@THEN
TEXT
A "Going-Under-The-Water-Safely" Device has just been built, the only one in the world! Of course, only a madman would use such a marvel to sink foreign ships...
ENDTEXT
CREATEUNIT
unit=The Boat
owner=TRIGGERRECEIVER
veteran=yes
homecity=NONE
locations
62,86
64,90
59,89
59,83
endlocations
JUSTONCE
@ENDIF

;*********************Bel Shamaroth ************************
@IF
TURN
turn=140
@THEN
TEXT
A strange ruined temple has been sighted in the hill country that can be found in the triangle between the Ramtop Kingdoms and the cities of Zemphis and Pseudopolis! What incredible mysteries can lie in the temple's crypts? 
ENDTEXT
CHANGETERRAIN
terraintype=1
maprect
50,34,50,34,50,34,50,34
JUSTONCE
@ENDIF

@IF
TURN
turn=140
@THEN
CREATEUNIT
unit=Bel-Shamaroth
owner=Dungeon Dim.
veteran=yes
homecity=none
locations
50,34
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Bel-Shamaroth
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Brave heroes raze the temple of Bel Shamaroth, sending the evil creature back to the Dungeon Dimensions where it belongs.They manage to plunder a rich treasure before the temple collapses... Among the riches they bring back lies a magical scroll teaching the ways of Teleportation!
ENDTEXT
GIVETECHNOLOGY
technology=66
receiver=TRIGGERATTACKER
JUSTONCE
@ENDIF

;*********************Holy Wood ************************
@IF
TURN
turn=110
@THEN
TEXT
A strange town has grown on the Circle Sea coast, between the cities of Quirm and Chimeria. People are behaving strangely in the area, and an influence from the Dungeon Dimensions is to be feared...
ENDTEXT
CHANGETERRAIN
terraintype=1
maprect
37,57,37,57,37,57,37,57
JUSTONCE
@ENDIF

@IF
TURN
turn=110
@THEN
GiveTechnology
technology=0
receiver=Independents
CREATEUNIT
unit=Holy Wood
owner=Dungeon Dim.
veteran=yes
homecity=none
locations
37,57
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Holy Wood
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Brave heroes discover a strange place where the creatures from the Dungeon Dimensions try to break through to our world. They manage to close the portal, and, as any hero worthy of his name, bring back great riches... Their deeds might well inspire a National Hero to appear... 
ENDTEXT
GIVETECHNOLOGY
technology=23
receiver=TRIGGERATTACKER
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=500
JUSTONCE
@ENDIF

;*********************Tsort Pyramid ************************
@IF
TURN
turn=120
@THEN
TEXT
An ancient Pyramid has been sighted in the desert south of Tsort. One can only guess at what incredible riches might be hidden there...
ENDTEXT
CHANGETERRAIN
terraintype=0
maprect
54,124,54,124,54,124,54,124
JUSTONCE
@ENDIF

@IF
TURN
turn=120
@THEN
CREATEUNIT
unit=Tsort Pyramid
owner=Dungeon Dim.
veteran=yes
homecity=none
locations
54,124
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Tsort Pyramid
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Brave heroes discover and plunder the mythical Great Pyramid of Tsort, bringing back fabulous riches to the capital... Their deeds might well inspire a National Hero to appear... 
ENDTEXT
GIVETECHNOLOGY
technology=23
receiver=TRIGGERATTACKER
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=500
JUSTONCE
@ENDIF

;*********************Tezuman Temple ************************
@IF
TURN
turn=145
@THEN
TEXT
An ancient pyramidal Temple has been sighted in the jungles that mark the border of the Klatchian continent far to the west of Al-Khali. One can only guess at what wonderful secrets might be hidden there...
ENDTEXT
CHANGETERRAIN
terraintype=1
maprect
6,124,6,124,6,124,6,124
JUSTONCE
@ENDIF

@IF
TURN
turn=145
@THEN
CREATEUNIT
unit=Tezuman Temple
owner=Dungeon Dim.
veteran=yes
homecity=none
locations
6,124
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Tezuman Temple
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Brave heroes discover a lost Tezuman Temple in the jungle, where evil priests kept on sacrificing lost travelers to Quetzovercoatl... They kill the priests, plunder the temple treasure and set fire to the building, thus ending centuries of human sacrifices. Among the riches they bring back lies a magical scroll teaching the ways of Teleportation!
ENDTEXT
GIVETECHNOLOGY
technology=66
receiver=TRIGGERATTACKER
JUSTONCE
@ENDIF

;********************* Wyrmberg ************************
@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=ANYBODY
@THEN
TEXT
Explorers report a huge floating rock, like an inverted mountain, used as a lair by huge flying lezards... And there seems to be buildings on the top...
ENDTEXT
CHANGETERRAIN
terraintype=1
maprect
16,32,16,32,16,32,16,32
JUSTONCE 
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=ANYBODY
@THEN
CREATEUNIT
unit=Wyrmberg
owner=Dungeon Dim.
veteran=yes
homecity=none
locations
16,32
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Wyrmberg
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The Wyrmberg, home of the last true dragons on the Discworld has been razed. The Dragons will soon only be present in tales...
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=1000
GIVETECHNOLOGY
technology=21
receiver=Independents
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=21
receiver=ANYBODY
@THEN
CHANGETERRAIN
terraintype=1
maprect
16,32,16,32,16,32,16,32
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=21
receiver=ANYBODY
@THEN
CREATEUNIT
unit=Impassable
owner=Independents 
veteran=yes
homecity=none
locations
16,32
endlocations
JUSTONCE
@ENDIF

@IF
TURNINTERVAL
interval=3
@THEN
CREATEUNIT
unit=Dragon
owner=Dungeon Dim.
veteran=yes
homecity=none
locations
16,32
endlocations
@ENDIF

;********************* Pyramids ************************
@IF
RECEIVEDTECHNOLOGY
technology=69
receiver=ANYBODY
@THEN
TEXT
The architects near Djelibeiby have tried to build a Pyramid greater than any other before. The only problem is that it is ripping apart the fabric of Space and Time! This menace must be eliminated...
ENDTEXT
CHANGETERRAIN
terraintype=0
maprect
62,116,62,116,62,116,62,116
JUSTONCE 
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=69
receiver=ANYBODY
@THEN
CREATEUNIT
unit=Pyramids
owner=Dungeon Dim.
veteran=yes
homecity=none
locations
62,116
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Pyramids
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
The Great Pyramid has been caped and allowed to flare. The Mummies are now returning to their eternal rest...
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=3000 
CHANGETERRAIN
terraintype=10
maprect
62,116,62,116,62,116,62,116
JUSTONCE
@ENDIF

@IF
TURNINTERVAL
interval=3
@THEN
CREATEUNIT
unit=Mummy
owner=Dungeon Dim.
veteran=yes
homecity=none
locations
62,116
endlocations
@ENDIF

;********************* Dunmanifestin ************************
@IF
RECEIVEDTECHNOLOGY
technology=65
receiver=ANYBODY
@THEN
TEXT
Man's impudence has become too great for the Gods: how could the puny mortals dare to create life with golems?? They get angry and come down from Dunmanifestin to express their disagreement! Something must be done to stop them...
ENDTEXT
CHANGETERRAIN
terraintype=6
maprect
72,2,72,2,72,2,72,2
JUSTONCE 
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=65
receiver=ANYBODY
@THEN
CREATEUNIT
unit=Dunmanifestin
owner=Dungeon Dim.
veteran=yes
homecity=none
locations
72,2
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Dunmanifestin
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
For the first time since Mazda stole the fire from the Gods, Dunmanifestin has been plundered by a mortal! From now on, the Gods will stop coming down from Cori Celesti to harass the mortals...
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=3000
CHANGETERRAIN
terraintype=10
maprect
72,2,72,2,72,2,72,2
JUSTONCE
@ENDIF

@IF
TURNINTERVAL
interval=3
@THEN
CREATEUNIT
unit=Gods
owner=Dungeon Dim.
veteran=yes
homecity=none
locations
72,2
endlocations
@ENDIF

;********************* City of Ee ************************
@IF
RECEIVEDTECHNOLOGY
technology=88
receiver=ANYBODY
@THEN
TEXT
Oracles and seers have determined that the End of the Discworld is imminent: a portal to the Dungeon Dimensions has just opened in the Lost City of Ee, allowing the nightmarish creatures from the Abyss to access the the Disc! The Lost City of Ee must be found quickly and the portal closed before it's too late...
ENDTEXT
CHANGETERRAIN
terraintype=1
maprect
89,79,89,79,89,79,89,79
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=88
receiver=ANYBODY
@THEN
CREATEUNIT
unit=City of Ee
owner=Dungeon Dim.
veteran=yes
homecity=none
locations
89,79
endlocations
JUSTONCE
@ENDIF


@IF
UNITKILLED
unit=City of Ee
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
After a terrible battle, the dread portal to the Dungeon Dimensions has been closed! Thanks to the braves heroes who sacrificed their life in the fight, the Dungeon Dimensions creatures won't be able to overwhelm the Discworld!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=5000 
CHANGETERRAIN
terraintype=10
maprect
89,79,89,79,89,79,89,79
JUSTONCE
@ENDIF

@IF
TURNINTERVAL
interval=2
@THEN
CREATEUNIT
unit=Monster of Ee
owner=Dungeon Dim.
veteran=yes
homecity=none
locations
89,79
endlocations
@ENDIF

;********************* Portal Closure ************************
@IF
RECEIVEDTECHNOLOGY
technology=87
receiver=Ankh-Morpork
@THEN
CREATEUNIT
unit=Portal Closure
owner=Ankh-Morpork
veteran=yes
homecity=NONE
locations
59,71
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=87
receiver=Klatch
@THEN
CREATEUNIT
unit=Portal Closure
owner=Klatch
veteran=yes
homecity=NONE
locations
52,108
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=87
receiver=Uberwald
@THEN
CREATEUNIT
unit=Portal Closure
owner=Uberwald
veteran=yes
homecity=NONE
locations
106,18
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=87
receiver=Omnia
@THEN
CREATEUNIT
unit=Portal Closure
owner=Omnia
veteran=yes
homecity=NONE
locations
73,99
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=87
receiver=Ramtop Kingdoms
@THEN
CREATEUNIT
unit=Portal Closure
owner=Ramtop Kingdoms
veteran=yes
homecity=NONE
locations
48,10
endlocations
JUSTONCE
@ENDIF

;*********************Leshp Temple ************************
@IF
TURN
turn=100 
@THEN
CHANGETERRAIN
terraintype=8
maprect
58,88,60,88,60,88,58,88
TEXT
Fishermen from all the nations around the Circle Sea bring back the incredible news: a new island surfaced halfway between Ankh-Morpork and Al-Khali! 
Weird buildings dot the surface of the island, without doubt full of unknown riches...
ENDTEXT
JUSTONCE
@ENDIF

@IF
TURN
turn=100 
@THEN
CREATEUNIT
unit=Leshp Temple
owner=Dungeon Dim.
veteran=yes
homecity=NONE
locations
58,88
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Leshp Temple
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Brave heroes explore Leshp Island and discover a temple full a mosaics depicting strange tentacular creatures. Under an altar, a rich treasure of weird jewelry is found while the ground begins to shake. The heroes manage to flee the island which sinks back to the Abyss... Some ships are destroyed by the whirlwind...
ENDTEXT
CHANGETERRAIN
terraintype=10
maprect
56,86,62,86,62,90,56,90
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=4000
JUSTONCE
@ENDIF

;********************* Barbarian Generator General************************
@IF
TURNINTERVAL
interval=8
@THEN
CHANGETERRAIN
terraintype=1
maprect
0,20,0,20,0,20,0,20 ;*********************  village 1
@ENDIF

@IF
TURNINTERVAL
interval=8
@THEN
CREATEUNIT
unit=Barb. Village
owner=Dungeon Dim.
veteran=yes
homecity=NONE
locations
0,20 ;*********************  village 1 
endlocations
@ENDIF

@IF
TURNINTERVAL
interval=8
@THEN
CHANGETERRAIN
terraintype=1
maprect
109,93,109,93,109,93,109,93 ;*********************  village 2
@ENDIF

@IF
TURNINTERVAL
interval=8
@THEN
CREATEUNIT
unit=Barb. Village
owner=Dungeon Dim.
veteran=yes
homecity=NONE
locations
109,93 ;*********************  village 2  
endlocations
@ENDIF

;********************* Barbarian Generator Civ 1: A-M************************
@IF
UNITKILLED
unit=Barb. Village
attacker=Ankh-Morpork
defender=Dungeon Dim.
@THEN
TEXT
Ankh-Morpork has hired a Barbarian Hero!
ENDTEXT
CREATEUNIT
unit=Barbarian Hero
owner=Ankh-Morpork
veteran=yes
homecity=NONE
locations
59,71 ;********************* Capitale Civ 1
endlocations
CHANGETERRAIN  
terraintype=3
maprect
2,20,2,20,2,20,2,20 ;********************* acces village 1
@ENDIF

@IF
UNITKILLED
unit=Barb. Village
attacker=Ankh-Morpork
defender=Dungeon Dim.
@THEN
CHANGETERRAIN  
terraintype=3
maprect
107,93,107,93,107,93,107,93 ;********************* acces village 2
@ENDIF

;********************* Barbarian Generator Civ 2: Ramtop************************
@IF
UNITKILLED
unit=Barb. Village
attacker=Ramtop Kingdoms
defender=Dungeon Dim.
@THEN
TEXT
The Ramtop Kingdoms have hired a Barbarian Hero!
ENDTEXT
CREATEUNIT
unit=Barbarian Hero
owner=Ramtop Kingdoms
veteran=yes
homecity=NONE
locations
48,10 ;********************* Capitale Civ 2
endlocations
CHANGETERRAIN  
terraintype=3
maprect
2,20,2,20,2,20,2,20 ;********************* acces village 1
@ENDIF

@IF
UNITKILLED
unit=Barb. Village
attacker=Ramtop Kingdoms
defender=Dungeon Dim.
@THEN
CHANGETERRAIN  
terraintype=3
maprect
107,93,107,93,107,93,107,93 ;********************* acces village 2
@ENDIF

;********************* Barbarian Generator Civ 3: Uberwald************************
@IF
UNITKILLED
unit=Barb. Village
attacker=Uberwald
defender=Dungeon Dim.
@THEN
TEXT
Uberwald has hired a Barbarian Hero!
ENDTEXT
CREATEUNIT
unit=Barbarian Hero
owner=Uberwald
veteran=yes
homecity=NONE
locations
106,18 ;********************* Capitale Civ 3
endlocations
CHANGETERRAIN  
terraintype=3
maprect
2,20,2,20,2,20,2,20 ;********************* acces village 1
@ENDIF

@IF
UNITKILLED
unit=Barb. Village
attacker=Uberwald
defender=Dungeon Dim.
@THEN
CHANGETERRAIN  
terraintype=3
maprect
107,93,107,93,107,93,107,93 ;********************* acces village 2
@ENDIF

;********************* Barbarian Generator Civ 4: Klatch************************
@IF
UNITKILLED
unit=Barb. Village
attacker=Klatch
defender=Dungeon Dim.
@THEN
TEXT
Klatch has hired a Barbarian Hero!
ENDTEXT
CREATEUNIT
unit=Barbarian Hero
owner=Klatch
veteran=yes
homecity=NONE
locations
52,108 ;********************* Capitale Civ 4
endlocations
CHANGETERRAIN  
terraintype=3
maprect
2,20,2,20,2,20,2,20 ;********************* acces village 1
@ENDIF

@IF
UNITKILLED
unit=Barb. Village
attacker=Klatch
defender=Dungeon Dim.
@THEN
CHANGETERRAIN  
terraintype=3
maprect
107,93,107,93,107,93,107,93 ;********************* acces village 2
@ENDIF

;********************* Barbarian Generator Civ 5: Omnia************************
@IF
UNITKILLED
unit=Barb. Village
attacker=Omnia
defender=Dungeon Dim.
@THEN
TEXT
Omnia has hired a Barbarian Hero!
ENDTEXT
CREATEUNIT
unit=Barbarian Hero
owner=Omnia
veteran=yes
homecity=NONE
locations
73,99 ;********************* Capitale Civ 5
endlocations
CHANGETERRAIN  
terraintype=3
maprect
2,20,2,20,2,20,2,20 ;********************* acces village 1
@ENDIF

@IF
UNITKILLED
unit=Barb. Village
attacker=Omnia
defender=Dungeon Dim.
@THEN
CHANGETERRAIN  
terraintype=3
maprect
107,93,107,93,107,93,107,93 ;********************* acces village 2
@ENDIF

;********************* Barbarian Generator Independents************************
@IF
UNITKILLED
unit=Barb. Village
attacker=Independents
defender=Dungeon Dim.
@THEN
CHANGETERRAIN  
terraintype=3
maprect
2,20,2,20,2,20,2,20 ;********************* acces village 1
@ENDIF

@IF
UNITKILLED
unit=Barb. Village
attacker=Independents
defender=Dungeon Dim.
@THEN
CHANGETERRAIN  
terraintype=3
maprect
107,93,107,93,107,93,107,93 ;********************* acces village 2
@ENDIF

;********************* Death ************************
@IF
RECEIVEDTECHNOLOGY
technology=78
receiver=ANYBODY
@THEN
TEXT
Eight wizards have performed the most serious ritual which summons and binds Death himself. 
ENDTEXT
CREATEUNIT
unit=Death
owner=TRIGGERRECEIVER
veteran=yes
homecity=NONE
locations
59,71 ;************* Les 5 capitales: ne pourra apparaitre que dans la bonne
48,10
106,18
52,108
73,99
endlocations
JUSTONCE
@ENDIF

;********************* 3 Horsemen ************************
@IF
RECEIVEDTECHNOLOGY
technology=41
receiver=ANYBODY
@THEN
TEXT
The Horsemen of the Apocralypse ravage the Discworld. Who can stop them, apart from the 4th rider, Death?
ENDTEXT
CREATEUNIT
unit=3 Horsemen
owner=Dungeon Dim.
veteran=yes
homecity=NONE
locations
80,62 
86,62
80,66
81,67
83,65
endlocations
JUSTONCE
@ENDIF

;********************* Rincewind ************************
@IF
RECEIVEDTECHNOLOGY
technology=25
receiver=Ankh-Morpork
@THEN
CREATEUNIT
unit=Rincewind
owner=Ankh-Morpork
veteran=yes
homecity=NONE
locations
59,71 
endlocations
TEXT
Rincewind is ready to carry the Portal Closure spell for Ankh-Morpork...
ENDTEXT
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Rincewind
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Rincewind is dead! The Wizzard has run his last race! Now nobody can carry the Portal Closure spell for Ankh-Morpork...
ENDTEXT
JUSTONCE
@ENDIF

;********************* 71-hours Ahmed ************************
@IF
RECEIVEDTECHNOLOGY
technology=28
receiver=Klatch
@THEN
CREATEUNIT
unit=71-hours Ahmed
owner=Klatch
veteran=yes
homecity=NONE
locations
52,108 
endlocations
TEXT
71-hours Ahmed is ready to carry the Portal Closure spell for Klatch...
ENDTEXT
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=71-hours Ahmed
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
71-hours Ahmed is dead! His enemies have at last caught up with the old D'reg! Now nobody can carry the Portal Closure spell for Klatch...
ENDTEXT
JUSTONCE
@ENDIF

;********************* Lady Margolota ************************
@IF
RECEIVEDTECHNOLOGY
technology=29
receiver=Uberwald
@THEN
CREATEUNIT
unit=Lady Margolota
owner=Uberwald
veteran=yes
homecity=NONE
locations
106,18 
endlocations
TEXT
Lady Margolota is ready to carry the Portal Closure spell for Uberwald...
ENDTEXT
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Lady Margolota
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Lady Margolota is dead! A way to kill the old vampire Lady has at last been found! Now nobody can carry the Portal Closure spell for Uberwald...
ENDTEXT
JUSTONCE
@ENDIF

;********************* Deacon Vorbis ************************
@IF
RECEIVEDTECHNOLOGY
technology=26
receiver=Omnia
@THEN
CREATEUNIT
unit=Deacon Vorbis
owner=Omnia
veteran=yes
homecity=NONE
locations
73,99 
endlocations
TEXT
Deacon Vorbis is ready to carry the Portal Closure spell for Omnia...
ENDTEXT
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Deacon Vorbis
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Deacon Vorbis is dead! The Prophet suffered martyrdom at the hands of heretics! Now nobody can carry the Portal Closure spell for Omnia...
ENDTEXT
JUSTONCE
@ENDIF

;********************* Granny Weatherwax ************************
@IF
RECEIVEDTECHNOLOGY
technology=27
receiver=Ramtop Kingdoms
@THEN
CREATEUNIT
unit=E. Weatherwax
owner=Ramtop Kingdoms
veteran=yes
homecity=NONE
locations
48,10 
endlocations
TEXT
Esme Weatherwax is ready to carry the Portal Closure spell for the Ramtop Kingdoms...
ENDTEXT
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=E. Weatherwax
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
Esme Weatherwax is dead! The old witch has at last found her better! Now nobody can carry the Portal Closure spell for the Ramtop Kingdoms...
ENDTEXT
JUSTONCE
@ENDIF

;*********************Northern Barb.************************
@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
unit=Northern Barb.
owner=Dungeon Dim.
veteran=yes
homecity=NONE
locations
14,6 ;******************** 3 endroits
19,7
16,10
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
unit=Northern Barb.
owner=Dungeon Dim.
veteran=yes
homecity=NONE
locations
84,28 ;******************** 3  autres endroits
80,36
85,39
endlocations
@ENDIF

;*********************Desert Nomad************************
@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
unit=Desert Nomad
owner=Dungeon Dim.
veteran=yes
homecity=NONE
locations
72,108 ;******************** 3 endroits
76,112
76,108
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
CREATEUNIT
unit=Desert Nomad
owner=Dungeon Dim.
veteran=yes
homecity=NONE
locations
17,115 ;******************** 3  autres endroits
23,117
76,108
endlocations
@ENDIF

;*********************Public Workers Civ 1: A-M ************************
@IF
TURNINTERVAL
interval=30
@THEN
CREATEUNIT
unit=Public Workers
owner=Ankh-Morpork
veteran=yes
homecity=NONE
locations
59,71 ;********************* Capitale Civ 1
endlocations
@ENDIF

;*********************Public Workers Civ 2: Ramtop ************************
@IF
TURNINTERVAL
interval=30
@THEN
CREATEUNIT
unit=Public Workers
owner=Ramtop Kingdoms
veteran=yes
homecity=NONE
locations
48,10 ;********************* Capitale Civ 2
endlocations
@ENDIF

;*********************Public Workers Civ 3: Uberwald ************************
@IF
TURNINTERVAL
interval=30
@THEN
CREATEUNIT
unit=Public Workers
owner=Uberwald
veteran=yes
homecity=NONE
locations
106,18 ;********************* Capitale Civ 3
endlocations
@ENDIF

;*********************Public Workers Civ 4: Klatch ************************
@IF
TURNINTERVAL
interval=30
@THEN
CREATEUNIT
unit=Public Workers
owner=Klatch
veteran=yes
homecity=NONE
locations
52,108 ;********************* Capitale Civ 4
endlocations
@ENDIF

;*********************Public Workers Civ 5: Omnia ************************
@IF
TURNINTERVAL
interval=30
@THEN
CREATEUNIT
unit=Public Workers
owner=Omnia
veteran=yes
homecity=NONE
locations
73,99 ;********************* Capitale Civ 5
endlocations
@ENDIF




@ENDEVENTS
